﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DocSupport.aspx.cs" Inherits="DocSupport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
  

    <link href="../style/Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
    <br />
    <asp:GridView ID="grvDocumento" runat="server" AutoGenerateColumns="False" 
                 CellPadding="5" Font-Size="11px" ForeColor="#666666" Width="550px" GridLines="None"
            onrowdatabound="grvDocumento_RowDataBound">
            <Columns>
                <asp:BoundField DataField="NUMERO_DOCUMENTO" HeaderText="# Documento Aplicado" >
                <ItemStyle HorizontalAlign="Left" Width="150px" />
                </asp:BoundField>
                <asp:BoundField DataField="VALOR_DOCUMENTO" 
                    HeaderText="Valor Total Documento Aplicado" DataFormatString="{0:c}" >
                <ItemStyle HorizontalAlign="Right" Width="120px" />
                </asp:BoundField>
                <asp:BoundField DataField="FECHA_PAGO" 
                    HeaderText="Fecha Aplicación / Pago" DataFormatString="{0:dd/MM/yyyy}" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="Ver Documento">
                    <ItemTemplate>
                     <asp:HyperLink ID="hplDocumento" runat="server" Target="_blank"><img src="../images/pdf.jpg" alt="0" border="0" /></asp:HyperLink>
              
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" Width="50px" />
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
            
            <div class="messageEmpty" >No existen documentos asociados a esta factura.</div>
               
            </EmptyDataTemplate>
             <HeaderStyle CssClass="headerStyle" />
                <RowStyle CssClass="rowStyle"/>
        </asp:GridView>
        </center>
    </div>
    </form>
</body>
</html>
